import React from 'react'

import baseaxiso from '../src/axios/config'
import { useState }from 'react';

function Testlog(){
    const  [data,setdata]=useState("")
     baseaxiso.get("/xiaobao/query").then(res=>{
         
        setdata(res.data)
     })
     return(
        <>
        <div>测试下
            {data}
        </div>
        
        </>
     )
}
export default Testlog